package com.aprivate.kn.ratingsystem.daoBean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * Created by kenan on 2018/12/3.
 */
@Entity
public class Answer{

    /**
     * projectId :
     * editor :
     * answerDividingValue : 0
     * answerOptionIds : string
     * id : 0
     * remark : string
     * yn : 0
     * zhengjuPath
     */
    @Id (autoincrement = true)
    private Long kid;
    private String projectId;
    private String editor;
    private String questionList;
    private String answerDividingValue;
    private String answerOptionIds;
    private String id; //QustionId
    private String remark;
    private String yn;
    private String remarkUrrl;
    private int upload; // 0 - 未上传 1 - 已上传
    private String zhengjuPath;

    @Generated(hash = 91522462)
    public Answer(Long kid, String projectId, String editor, String questionList, String answerDividingValue, String answerOptionIds, String id, String remark, String yn, String remarkUrrl, int upload,
            String zhengjuPath) {
        this.kid = kid;
        this.projectId = projectId;
        this.editor = editor;
        this.questionList = questionList;
        this.answerDividingValue = answerDividingValue;
        this.answerOptionIds = answerOptionIds;
        this.id = id;
        this.remark = remark;
        this.yn = yn;
        this.remarkUrrl = remarkUrrl;
        this.upload = upload;
        this.zhengjuPath = zhengjuPath;
    }

    public int getUpload() {
        return upload;
    }

    public void setUpload(int upload) {
        this.upload = upload;
    }


    @Generated(hash = 53889439)
    public Answer() {
    }

    public Long getKid() {
        return kid;
    }

    public void setKid(Long kid) {
        this.kid = kid;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public String getQuestionList() {
        return questionList;
    }

    public void setQuestionList(String questionList) {
        this.questionList = questionList;
    }

    public String getAnswerDividingValue() {
        return answerDividingValue;
    }

    public void setAnswerDividingValue(String answerDividingValue) {
        this.answerDividingValue = answerDividingValue;
    }

    public String getAnswerOptionIds() {
        return answerOptionIds;
    }

    public void setAnswerOptionIds(String answerOptionIds) {
        this.answerOptionIds = answerOptionIds;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getYn() {
        return yn;
    }

    public void setYn(String yn) {
        this.yn = yn;
    }

    public String getRemarkUrrl() {
        return remarkUrrl;
    }

    public void setRemarkUrrl(String remarkUrrl) {
        this.remarkUrrl = remarkUrrl;
    }

    public String getZhengjuPath() {
        return this.zhengjuPath;
    }

    public void setZhengjuPath(String zhengjuPath) {
        this.zhengjuPath = zhengjuPath;
    }
}
